<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo CHtml::encode($this->pageTitle).'_'.Yii::app()->name; ?></title>
	<meta name="keywords" content="<?php echo $this->keywords;?>" />
	<meta name="description" content="<?php echo $this->description;?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
</head>

<body>
	<div id="top">
		<div id="logo">
		<div class="logoleft">
		<a href="<?php echo Yii::app()->homeUrl;?>"><img src="<?php echo Yii::app()->baseUrl.'/images/logo.gif';?>" /></a>
		</div>
		<div class="logoright">
			<input type="text" class="topsearch" autocomplete="off" x-webkit-speech /><div class="clear"></div>
			<a id="topbutton" onfocus="this.blur();" href="<?php echo Yii::app()->request->baseUrl; ?>/item/list/">按关键字搜索</a>
			<p style="margin:5px 0 0 100px;">热门搜索：<?php $this->widget('ext.SortKeywords');?></p>
		</div>
		
		</div>
		<div id="menu">
			<?php $this->widget('zii.widgets.CMenu',array(
				'items'=>array(
					array('label'=>'网购首页', 'url'=>array('/site/index'),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'商品热卖榜', 'url'=>array('/reliable/toplist'),'itemOptions'=>array('class'=>'parent')),
                    array('label'=>'商品类目', 'url'=>array('/cate/index'),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'BB霜', 'url'=>array('item/list','cid'=>50013794),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'精油芳疗', 'url'=>array('item/list','cid'=>50011992),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'防晒', 'url'=>array('item/list','cid'=>50011982),'itemOptions'=>array('class'=>'parent')),
					array('label'=>' 粉底液', 'url'=>array('item/list','cid'=>50010789),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'钱包', 'url'=>array('item/list','cid'=>50012018),'itemOptions'=>array('class'=>'parent')),
					array('label'=>'网购知识', 'url'=>array('article/index'),'itemOptions'=>array('class'=>'parent')),
				),
			)); ?>
		</div><!-- mainmenu -->
		<div id="breadcrumbs">
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
		</div>
	</div><!-- top -->
	
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
	
	<div id="footer">
		<p>
			<a target="_blank" href="http://www.taobao.com">淘宝</a> 丨
			<a target="_blank" href="http://www.tmall.com">淘宝商城</a> 丨
			<a target="_blank" href="<?php echo $this->createUrl('reliable/toplist',array('type'=>'jianfei'));?>">减肥产品</a> 丨 
			<a target="_blank" href="<?php echo $this->createUrl('reliable/toplist',array('type'=>'qudou'));?>">祛疤祛痘</a> 丨 
			<a target="_blank" href="<?php echo $this->createUrl('reliable/toplist',array('type'=>'fuzhuang'));?>">新款服饰</a> 丨 
			<a target="_blank" href="<?php echo $this->createUrl('/cate');?>">网站地图</a> 丨 
			<a target="_blank" href="http://www.jimeishuo.com">即美说</a>
		</p>
		<p>Copyright &copy; <?php echo date('Y').' '.CHtml::link('[即美说]',Yii::app()->homeUrl);?> 版权所有.Powered by <a href="http://sae.sina.com.cn" target="_blank"><img src="http://static.sae.sina.com.cn/image/poweredby/117X12px.gif" title="Powered by Sina App Engine"></a></p>
		<p>让网上购物变得更加简单|友链推广联系QQ：254043475  
		<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F0657b2e2cb111ce54827aadd2418d1fb' type='text/javascript'%3E%3C/script%3E"));
</script>
</p>
	</div><!-- footer -->
</body>
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;img=7&amp;uid=510527" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
</script>
<!-- Baidu Button END -->
<?php Yii::app()->clientScript->registerScript('topsearchUrl',"
	$('#topbutton').click(function (){
		var url = $(this).attr('href');
		var kw = $('.topsearch').val();
		kw = $.trim(kw);
		if(kw == ''){
			return false;
		}else{
			$(this).attr('href',url+'keyword/'+encodeURI(kw));
		}
	});
");?>
<?php $this->widget('ext.lazyLoad.lazyLoad');?>
</html>